<template>
  <el-container>
    <el-header>
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item>实验室管理</el-breadcrumb-item>
        <el-breadcrumb-item v-for="item in breadList"
                            :key="item.path" v-if="$route.path===item.path">
          {{item.name}}
        </el-breadcrumb-item>
      </el-breadcrumb>
    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
import ChartCard from "../../../labor/ChartCard";

export default {
  name: "AdminLabor",
  components:{ChartCard},
  data(){
    return{
      breadList:[]
    }
  },
  mounted() {
    this.breadList=this.$store.state.menuList[0].children
  }
}
</script>

<style scoped>

</style>
